package edu.gatech.cs2340.teamrocket.model.map;

/**
 * Factory class for getting Locations.
 *
 * @author Joe Tacheron
 */
public class LocationFactory {

    public static Location getStart(){
        return new StartingLocation();
    }

    public static Location getEnd(int endDistance){
        return new EndingLocation(endDistance);
    }

    public static Location getCity(String name, int endDist){
        return new City(name, endDist);
    }

    public static Location getTown(String name, int endDist){
        return new Town(name, endDist);
    }

    public static Location getForest(String name, int endDist){
        return new Forest(name, endDist);
    }

    public static Location getPlains(String name, int endDist){
        return new Plains(name, endDist);
    }

    public static Location getDesert(String name, int endDist){
        return new Desert(name, endDist);
    }

    public static Location getMountain(String name, int endDist){
        return new Mountain(name, endDist);
    }

    public static Location getLakeside(String name, int endDist){
        return new Lakeside(name, endDist);
    }

    public static Location getCave(String name, int endDist){
        return new Cave(name, endDist);
    }
}